//
//  GameModel.h
//  Mahjong
//
//  Created by 饶首建 on 17/5/22.
//  Copyright © 2017年 com.ikamobile.com. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^LoadGamesSuccess)(id array);
typedef void(^LoadGamesFail)(NSString *errorStr);


@interface GameModel : NSObject

@property (nonatomic,copy) NSString *gameId;

@property (nonatomic,copy) NSString *matchId;

@property (nonatomic,strong) NSArray *resultArr;
@property (nonatomic,strong) NSArray *actionArr;



@property (nonatomic,assign) BOOL isOver;

+(GameModel *)gameModelPushParse:(NSDictionary*)dic;
+(GameModel *)gameModelNewParse:(NSDictionary*)dic;


+(void)gamesOfMatch:(NSString*)matchId success:(LoadGamesSuccess)success fail:(LoadGamesFail)fail;

@end
